﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/Default.Master" AutoEventWireup="true"
  CodeBehind="ImageDiscovery.aspx.cs" Inherits="ITViet.Web.Pages.ImageDiscovery" %>

<%@ Register Assembly="DevExpress.Web.v9.1, Version=9.1.4.0, Culture=neutral, PublicKeyToken=5377c8e3b72b4073"
  Namespace="DevExpress.Web.ASPxDataView" TagPrefix="dxdv" %>
<%@ Register Src="../Controls/SlideShowControl.ascx" TagName="SlideShowControl" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphContentMain" runat="server">
  <dxdv:ASPxDataView ID="dvList" ClientInstanceName="dvList" runat="server" ItemSpacing="0px"
    OnDataBound="dvList_DataBound" RowPerPage="5" EmptyDataText="<%$Resources:Messages, ERR0058 %>"
    PagerAlign="Right" Width="100%" ColumnCount="5">
    <EmptyItemStyle BackColor="Transparent" ForeColor="Transparent">
    </EmptyItemStyle>
    <ItemStyle BackColor="Transparent" Height="0px">
      <Paddings Padding="0px" />
      <Border BorderStyle="None" />
    </ItemStyle>
    <ItemTemplate>
      <div align="center">
        <img id="albumImg" src="" alt="" runat="server" width="135" height="80" style="cursor: pointer" />
      </div>
      <div class="title" align="center" style="padding-top: 5px; color: #5B7B45; text-transform: capitalize;">
        <%#Eval("AlbumName") %>
      </div>
    </ItemTemplate>
    <Paddings Padding="0px" PaddingTop="10px" />
    <PagerSettings Position="Bottom">
      <Summary Position="Right" Text="<%$Resources:Strings, PagerText %>" />
    </PagerSettings>
  </dxdv:ASPxDataView>
  <uc1:SlideShowControl ID="SlideShowControl1" runat="server" />

  <script type="text/javascript">
    function doSlideshow(fileList) {
      var data = fileList.split(';');
      var folder = '../Upload/Photo/';
      startSlideshow(data, folder);
    }
  </script>

</asp:Content>
